feat: Cargo target GC, relay BuildKit cache, and sync quota relief - #1682
Merged
bobleer merged 1 commit intoJul 22, 2026
Merged
Conversation
…nc quotas Keep desktop target caches latest-only after dev/build, reuse BuildKit Cargo mounts for relay redeploys, auto-evict oldest cloud session backups on quota pressure, surface clearer sync errors, and temporarily hide the Pages nav entry.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
targetcaches (incremental / fingerprint / deps) afterdesktop:dev, preview shutdown, anddesktop:build*, keeping only the latest useful artifacts; addpnpm run target:gc.targetcache mounts, pin the builder toolchain, and propagateDOCKER_BUILDKIT=1through deploy / one-click paths.Test plan
node --test scripts/cargo-target-gc.test.mjsBITFUN_TARGET_GC_DRY_RUN=1 pnpm run target:gc -- --profile debugagainst a localtarget/debugand confirm keep-latest countspnpm run desktop:devand confirm target GC logs without failing the sessioncargo test -p bitfun-relay-service sync_session_make_room_evicts_oldest_until_upsert_fits -- --nocapturecargo test -p bitfun-services-integrations detects_insufficient_storage_errors_for_quota_relief -- --nocapture(or nearest focused lib test filter)pnpm run i18n:auditfor locale key additionspnpm run type-check:webfor AccountPanel / MainNav changes